package com.sevenGroup.pawnshop.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author sevenGroup
 * @since 2022-02-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Function implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 功能id
     */
    @TableId(value = "function_id",type = IdType.AUTO)
    private Integer functionId;
    //功能名
    private String functionName;
    //功能图标
    private String functionIcon;
    //是否为父节点
    private Integer functionIsleaf;

    @TableField("function_URL")
    //功能URL
    private String functionUrl;
    //  父节点ID
    private Integer functionLeafId;
    //导航节点
    private String functionIndex;
}
